package com.class06.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "cat")
public class Cat {

    private String name;
    private int age;
    private String kinds;
}
